#ifndef INVENTORYBUTTON_H
#define INVENTORYBUTTON_H

#include "utilities.h"
#include <QPushButton>

class InventoryButton : public QPushButton
{
   Q_OBJECT
public:
   explicit InventoryButton(const quint32 id, QWidget *parent = 0);

   void paintEvent(QPaintEvent *event);
   void setID(const quint32 id);
   quint32 id();
   void setEntityStats(const EntityBaseStats &stats);
   void setColor(const QColor &color);
   EntityBaseStats entityStats();
   void setCount(const quint32 count);
   quint32 count();
   void setIconScale(const qreal scale);

protected:
   EntityBaseStats mStats;
   quint32 mID;
   quint32 mCount;
   qreal mIconScale;
};

#endif // INVENTORYBUTTON_H
